package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="ExpensesInfo"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class ExpensesInfo implements Serializable {

    /** identifier field */
    private Long feeId;

    /** nullable persistent field */
    private String feeTypeId;

    /** nullable persistent field */
    private String floor;

    /** nullable persistent field */
    private String startDate;

    /** nullable persistent field */
    private String endDate;

    /** nullable persistent field */
    private Double price;

    /** nullable persistent field */
    private Double amount;
    
    /** nullable persistent field */
    private Double amount2;

    /** nullable persistent field */
    private Double totalFee;

    /** nullable persistent field */
    private Double everyoneFee;

    /** nullable persistent field */
    private String isnowFee;

    /** persistent field */
    private String userId;

    /** nullable persistent field */
    private String latestDate;

    /** full constructor */
    public ExpensesInfo(String feeTypeId, String floor, String startDate, String endDate, Double price, Double amount, Double amount2,Double totalFee, Double everyoneFee, String isnowFee, String userId, String latestDate) {
        this.feeTypeId = feeTypeId;
        this.floor = floor;
        this.startDate = startDate;
        this.endDate = endDate;
        this.price = price;
        this.amount = amount;
        this.amount2 =amount2;
        this.totalFee = totalFee;
        this.everyoneFee = everyoneFee;
        this.isnowFee = isnowFee;
        this.userId = userId;
        this.latestDate = latestDate;
    }

    /** default constructor */
    public ExpensesInfo() {
    }

    /** minimal constructor */
    public ExpensesInfo(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.id
     *             generator-class="identity"
     *             type="java.lang.Long"
     *             column="FeeId"
     *             unsaved-value="0"
     *         
     */
    public Long getFeeId() {
        return this.feeId;
    }

    public void setFeeId(Long feeId) {
        this.feeId = feeId;
    }

    /** 
     *            @hibernate.property
     *             column="FeeTypeId"
     *             length="3"
     *         
     */
    public String getFeeTypeId() {
        return this.feeTypeId;
    }

    public void setFeeTypeId(String feeTypeId) {
        this.feeTypeId = feeTypeId;
    }

    /** 
     *            @hibernate.property
     *             column="Floor"
     *             length="6"
     *         
     */
    public String getFloor() {
        return this.floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    /** 
     *            @hibernate.property
     *             column="StartDate"
     *             length="23"
     *         
     */
    public String getStartDate() {
        return this.startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    /** 
     *            @hibernate.property
     *             column="EndDate"
     *             length="23"
     *         
     */
    public String getEndDate() {
        return this.endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    /** 
     *            @hibernate.property
     *             column="Price"
     *             length="53"
     *         
     */
    public Double getPrice() {
        return this.price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    /** 
     *            @hibernate.property
     *             column="Amount"
     *             length="53"
     *         
     */
    public Double getAmount() {
        return this.amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    /** 
     *            @hibernate.property
     *             column="TotalFee"
     *             length="53"
     *         
     */
    public Double getTotalFee() {
        return this.totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    /** 
     *            @hibernate.property
     *             column="EveryoneFee"
     *             length="53"
     *         
     */
    public Double getEveryoneFee() {
        return this.everyoneFee;
    }

    public void setEveryoneFee(Double everyoneFee) {
        this.everyoneFee = everyoneFee;
    }

    /** 
     *            @hibernate.property
     *             column="IsNowFee"
     *             length="1"
     *         
     */
    public String getIsnowFee() {
        return this.isnowFee;
    }

    public void setIsnowFee(String isnowFee) {
        this.isnowFee = isnowFee;
    }

    /** 
     *            @hibernate.property
     *             column="UserId"
     *             length="7"
     *             not-null="true"
     *         
     */
    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.property
     *             column="LatestDate"
     *             length="23"
     *         
     */
    public String getLatestDate() {
        return this.latestDate;
    }

    public void setLatestDate(String latestDate) {
        this.latestDate = latestDate;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("feeId", getFeeId())
            .toString();
    }

	public Double getAmount2() {
		return amount2;
	}

	public void setAmount2(Double amount2) {
		this.amount2 = amount2;
	}

}
